home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c / 432 < prev    next >
Internet Message Format  |  1996-08-06  |  3KB

  1. Path: solon.com!not-for-mail
  2. From: walter briscoe <walter@wbriscoe.demon.co.uk>
  3. Newsgroups: comp.std.c,comp.lang.c.moderated
  4. Subject: Re: Integral promotion.
  5. Date: 25 Feb 1996 11:58:29 -0600
  6. Organization: Digital Solutions
  7. Sender: clc@solutions.solon.com
  8. Approved: clc@solutions.solon.com
  9. Message-ID: <4gq805$oju@solutions.solon.com>
  10. References: <4fstj7$2l6@solutions.solon.com> <4fu835$9de@solutions.solon.com> <4fvgrm$dv9@solutions.solon.com> <4g27gn$q5k@solutions.solon.com> <4gnbbp$bhu@solutions.solon.com>
  11. Reply-To: walter@wbriscoe.demon.co.uk
  12. NNTP-Posting-Host: solutions.solon.com
  13. X-NNTP-Posting-Host: wbriscoe.demon.co.uk
  14. X-Newsreader: Demon Internet Simple News v1.30
  15. X-Mail2News-Path: wbriscoe.demon.co.uk
  16.  
  17. In article <4gnbbp$bhu@solutions.solon.com>
  18.            jmccarty@spdmail.spd.dsccc.com "Mike McCarty" writes:
  19.  
  20. [snip]
  21.  
  22. > Where in the standard does it say that a compiler must be accompanied by
  23. > -any- documentation?
  24.  
  25. The standard does not specify "compiler" but does define
  26. "implementation" as:
  27.  
  28. > 3.9 implementation: A particular set of software, running in a
  29. > particular translation environment under particular control options,
  30. > that performs translation of programs for, and supports execution of
  31. > functions in, a particular execution environment.
  32.  
  33. and immediately specifies that
  34.  
  35. > 3.10 implementation-defined behavior: Behavior, for a correct program
  36. > construct and correct data, that depends on the characteristics of the
  37. > implementation and that each implementation shall document.
  38.  
  39. > 3.12 locale-specific behavior: Behavior that depends on local
  40. > conventions of nationality, culture, and language that each
  41. > implementation shall document.
  42.  
  43. The point is made again in:
  44.  
  45. > 4.  Compliance
  46.  
  47. [snip]
  48.  
  49. > An implementation shall be accompanied by a document that defines all
  50. > implementation-defined characteristics and all extensions.
  51.  
  52. Note that it does not say that that document shall contain nothing else.
  53. The information may be hard to find.  However, IMHO, it does allow any
  54. customer to ask a supplier to point to that document and to factor the
  55. answer into the buying decision.
  56.  
  57. > 5.2.4.2 Numerical limits
  58.  
  59. > A conforming implementation shall document all the limits specified in
  60. > this subclause, which shall be specified in the headers <limits.h> and
  61. > <float.h>.
  62.  
  63.  
  64. > G.3 Implementation-defined behavior
  65.  
  66. > Each implementation shall document its behavior in each of the areas
  67. > listed in this subclause.  The following are implementation-defined:
  68.  
  69. [snip]
  70.  
  71. This is followed by about 300 lines of detail.  From which, I think you
  72. will gather that the standard writers had a proper regard to
  73. documentation.  However, I think some suppliers must put a meaning
  74. different to mine on the quotation from Clause 4.
  75. --
  76. walter briscoe
  77.